package com.newly.common.base.constants;

/**
 * @author gjm guan
 * @date 2021/8/18 14:18
 * @desc 公共常量
 */
public interface CommonConstant {
    /**
     * 区域顶级域标识
     */
    Integer DOMAIN_PARENT_FLAG = 0;

    /**
     * 删除标志位
     */
    enum DeleteFlag {
        DELETED(1, "已删除"),
        NO_DELETE(0, "未删除");

        DeleteFlag(int code, String remark) {
            this.code = code;
            this.remark = remark;
        }

        private int code;
        private String remark;

        public int getCode() {
            return code;
        }

        public String getRemark() {
            return remark;
        }
    }
}
